FROM openjdk:12

ENV DRAGONS_PATH="/tmp" \
    DRAGONS_SERVER_URL="www.example.org" \
    DRAGONS_MY_URL="www.example.org"

ADD target/dragons-treasure-1.0-SNAPSHOT.jar /app.jar

EXPOSE 80

ENTRYPOINT ["java", "-jar", "/app.jar"]
